home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / dskut / fdform18.zip / FDFORMAT.PAS < prev    next >
Pascal/Delphi Source File  |  1991-07-21  |  54KB  |  1,348 lines

  1. {$A+,B-,D+,E+,F-,L+,N-,O-,R-,S-,V-}
  2. {$M 8192,0,0}
  3. PROGRAM FDFORMAT;
  4.  
  5. USES dos,auxdos,baseconv,desqview;
  6.  
  7.   {Copyright (c) 1988-91, Christoph H. Hochstätter}
  8.   {Donated to the Public-Domain for non-commercial usage}
  9.   {Compiled in Turbo-Pascal 6.0}
  10.  
  11.   {$IFDEF L49}
  12.  
  13. CONST text01 = 'Fehler ';
  14. CONST text02 = '(A)bbrechen (W)iederholen (I)gnorieren ? ';
  15. CONST t3     = 'W';
  16. CONST text04 = 'Kein gültiges Laufwerk.';
  17. CONST text05 = 'SUBST/ASSIGN/Netzwerk-Laufwerk.';
  18. CONST text06 = 'Kein Floppy-Laufwerk.';
  19. CONST text07 = 'Völlig unbekannte Laufwerksart';
  20. CONST text08 = 'Ich formatiere Laufwerk ';
  21. CONST text09 = ' Seite(n), ';
  22. CONST text10 = ' Spuren, ';
  23. CONST text11 = ' Sektoren/Spur, ';
  24. CONST text12 = ' Basisverzeichniseinträge, ';
  25. CONST text13 = ' Sektor(en)/Cluster, Sektoren-Versatz: ';
  26. CONST text14 = 'Kopf: ';
  27. CONST text15 = ', Zylinder: ';
  28. CONST text17 = 'Formatierfehler im Systembereich: Programm abgebrochen.';
  29. CONST text18 = 'Mehr als ';
  30. CONST text19 = ' Sektoren nicht lesbar. Programm abgebrochen.';
  31. CONST text20 = ' als schlecht markiert';
  32. CONST text21 = 'Format-Identifizierung:          ';
  33. CONST text22 = 'Gesamtsektoren auf der Diskette: ';
  34. CONST text23 = 'Sektoren pro Spur:               ';
  35. CONST text24 = 'Schreib-/Leseköpfe:              ';
  36. CONST text25 = 'Bytes pro Sektor:                ';
  37. CONST text26 = 'Versteckte Sektoren:             ';
  38. CONST text27 = 'Boot-Sektoren:                   ';
  39. CONST text28 = 'Anzahl der FAT''s:                ';
  40. CONST text29 = 'Sektoren pro FAT:                ';
  41. CONST text30 = 'Cluster auf Diskette:            ';
  42. CONST text79 = 'Disketten-Seriennummer:          ';
  43. CONST text34 = 'Dieses Laufwerk kann nicht formatiert werden.';
  44. CONST text35 = 'Laufwerk ist physisch ';
  45. CONST text36 = 'BIOS Umschaltung 40/80 Spuren: ';
  46. CONST text37 = 'nach XT-Standard';
  47. CONST text38 = 'nach EPSON QX-16 Standard';
  48. CONST text39 = 'nach AT-Standard';
  49. CONST text40 = 'wird nicht unterstützt';
  50. CONST text41 = 'Syntax Error beim Aufruf.';
  51. CONST text42 = 'Format ist: FDFORMAT drive: [Optionen]';
  52. CONST text43 = '  Beispiel: FDFORMAT a: t41 h2 s10 C1 D112';
  53. CONST text44 = 'Parameter Bedeutung                              Voreinstellung';
  54. CONST text45 = 'drive:    Laufwerk, das formatiert werden soll   ----';
  55. CONST text46 = 'Tnn       Anzahl der Spuren je Seite             40/80 je nach Laufwerk';
  56. CONST text47 = 'Hnn       Anzahl der Seiten                      2';
  57. CONST text48 = 'Nnn       Anzahl der Sektoren je Spur            9/15/18 je nach Laufwerk';
  58. CONST text49 = 'Cn        Anzahl der Sektoren je Cluster         1 bei HD, 2 bei DD';
  59. CONST text50 = 'Dnnn      Anzahl der Basisverzeichniseinträge    224 bei HD, 112 bei DD';
  60. CONST text51 = 'Inn       Interleave-Faktor                      1';
  61. CONST text52 = 'Fnnn      Format festlegen';
  62. CONST text53 = 'R         Formatierung nicht verifizieren';
  63. CONST text69 = 'Bnnn      Diskettentypbyte festlegen             je nach Format';
  64. CONST text70 = 'Gnnn      GAP-Länge festlegen                    je nach Format';
  65. CONST text71 = 'Lesen Sie die FDFORMAT.DOC Datei für weitere Optionen';
  66. CONST text54 = 'Dieses Programm benötigt mindestens DOS 3.20.';
  67. {$IFOPT G+}
  68. CONST text55 = 'FDFORMAT/286 - Formatieren von Disketten mit erhöhter Kapazität';
  69. {$ELSE}
  70. CONST text55 = 'FDFORMAT/88 - Formatieren von Disketten mit erhöhter Kapazität';
  71. {$ENDIF}
  72. CONST text56 = 'Copyright (c) 1988-1991, Christoph H. Hochstätter, Ver 1.8';
  73. CONST text57 = 'Sie können nur 1 oder 2 Seiten nehmen.';
  74. CONST text58 = 'Sie sollten schon mindestens eine Spur formatieren.';
  75. CONST text59 = 'Interleave muß von 1-';
  76. CONST text60 = ' sein.';
  77. CONST text61 = 'WARNUNG! DOS verwaltet bei Disketten nur 1 oder 2 Sektoren/Cluster';
  78. CONST text62 = 'WARNUNG! Zu viele Spuren. Das kann Ihr Laufwerk beschädigen';
  79. CONST text63 = 'WARNUNG! DOS verwaltet bei Disketten maximal 240 Basisverzeichniseinträge';
  80. CONST text64 = 'Neue Diskette in Laufwerk ';
  81. CONST text65 = ': einlegen';
  82. CONST text66 = 'Anschließend ENTER drücken (ESC=Abbruch)';
  83. CONST text67 = 'Übertragungsrate: ';
  84. CONST text68 = ', GAP-Länge: ';
  85. CONST text72 = 'EIN';
  86. CONST text73 = 'AUS';
  87. CONST text74 = 'Bitte Diskettennamen eingeben (max. 11 Zeichen): ';
  88. CONST text75 = 'Fehler beim Erstellen des Namens.';
  89. CONST text76 = 'Syntax-Fehler in der Datei FDFORMAT.CFG.';
  90. CONST text77 = 'Lesefehler in der Datei FDFORMAT.CFG.';
  91. CONST text78 = ', Sektoren: ';
  92. CONST text80 = 'Fehler beim Aufbau eines neuen Disk-Parameter-Blocks. DOS-Fehler: ';
  93. CONST text81 = 'Altes Format kann nicht gelesen werden. Formatieren ohne löschen nicht möglich.';
  94. CONST text31 = ' formatierte Bytes gesamt';
  95. CONST text32 = ' Bytes im Boot-Sektor';
  96. CONST text33 = ' Bytes im Basis-Verzeichnis';
  97. CONST text82 = ' Bytes in der FAT';
  98. CONST text83 = ' Bytes in schlechten Sektoren';
  99. CONST text84 = ' Bytes frei fuer Dateien';
  100. CONST text85 = ' Bytes tatsächlich frei';
  101. CONST text86 = 'Setze Laufwerksparameter über Spur/Sektor-Kombination...';
  102. CONST text87 = 'Setze Laufwerksparameter über Diskettentyp...';
  103. CONST text88 = 'erfolgreich';
  104. CONST text89 = 'Fehler';
  105. CONST text90 = 'WARNUNG! BIOS-Media-Byte konnte nicht korrekt gesetzt werden.';
  106. CONST text91 = 'BIOS-Media-Byte ist: ';
  107. CONST text92 = 'x, Soll: ';
  108. CONST text93 = 'Laufwerksparameter durch direktes Schreiben des BIOS-Media-Bytes gesetzt.';
  109. CONST text94 = 'Programmabbruch durch den Benutzer.';
  110. CONST error01 = 'Falsches Disketten-Steuer-Kommando';
  111. CONST error02 = 'Formatierung nicht gefunden';
  112. CONST error03 = 'Diskette ist schreibgeschützt';
  113. CONST error04 = 'Sektor nicht gefunden';
  114. CONST error06 = 'Unerlaubter Diskettenwechsel';
  115. CONST error08 = 'DMA-Baustein übergelaufen';
  116. CONST error09 = 'Mehr als 64 kByte im DMA Baustein';
  117. CONST error0c = 'Format nicht kompatibel mit Datenübertragungsrate';
  118. CONST error10 = 'Zyklische Redundanzprüfung fehlerhaft';
  119. CONST error20 = 'Diskettenadapter fehlerhaft';
  120. CONST error40 = 'Laufwerkskopf konnte nicht positioniert werden';
  121. CONST error80 = 'Keine Diskette im Laufwerk oder falsch eingelegt';
  122. CONST errorxx = 'Fehlerursache unbekannt';
  123.  
  124.   {$ENDIF}
  125.   {$IFDEF L1}
  126.  
  127. const text01 = 'Error ';
  128. const text02 = '(A)bort (R)etry (I)gnore ? ';
  129. const t3     = 'R';
  130. const text04 = 'No valid drive.';
  131. const text05 = 'SUBST/ASSIGN/Network-Drive.';
  132. const text06 = 'Not a floppy drive.';
  133. const text07 = 'Unknown drive type.';
  134. const text08 = 'Formatting drive ';
  135. const text09 = ' Head(s), ';
  136. const text10 = ' Tracks, ';
  137. const text11 = ' Sectors/track, ';
  138. const text12 = ' Root Directory Entries, ';
  139. const text13 = ' Sector(s)/Cluster, Sector-Shift: ';
  140. const text14 = 'Head: ';
  141. const text15 = ', Cylinder: ';
  142. const text17 = 'Format error in system area: Program aborted.';
  143. const text18 = 'More than ';
  144. const text19 = ' sectors unreadable. Program aborted.';
  145. const text20 = ' marked as bad';
  146. const text21 = 'OEM-Entry:              ';
  147. const text22 = 'Total sectors on disk:  ';
  148. const text23 = 'Sectors per track:      ';
  149. const text24 = 'Heads:                  ';
  150. const text25 = 'Bytes per sector:       ';
  151. const text26 = 'Hidden sectors:         ';
  152. const text27 = 'Boot-sectors:           ';
  153. const text28 = 'Number of FATs:         ';
  154. const text29 = 'Sectors per FAT:        ';
  155. const text30 = 'Total clusters on disk: ';
  156. const text79 = 'Volume serial number:   ';
  157. const text34 = 'This drive cannot be formatted.';
  158. const text35 = 'Drive is physical ';
  159. const text36 = 'BIOS double-step support: ';
  160. const text37 = 'XT-like';
  161. const text38 = 'EPSON QX-16 like';
  162. const text39 = 'AT-like';
  163. const text40 = 'Not available or unknown';
  164. const text41 = 'Syntax Error.';
  165. const text42 = 'Usage is: FDFORMAT drive: [options]';
  166. const text43 = ' Example: FDFORMAT a: t41 h2 s10 C1 D112';
  167. const text44 = 'Option   Meaning                                 Default';
  168. const text45 = 'drive:   drive to be formatted                   none';
  169. const text46 = 'Tnn      Number of tracks                        40/80 depends on drive';
  170. const text47 = 'Hnn      Number of heads                         2';
  171. const text48 = 'Nnn      Number of sectors per track